Einhugur macOS Bridge plugin.

EinhugurVisionBridge.VNRectangleObservation Class

An object that represents the four vertices of a detected rectangle.

EinhugurVisionBridge.VNDetectedObjectObservation
   VNRectangleObservation

class EinhugurVisionBridge.VNRectangleObservation

Constructors

VNRectangleObservation (private) Private constructor.

Properties

BottomLeftThe coordinates of the lower-left corner of the observation bounding box.
BottomRightThe coordinates of the lower-right corner of the observation bounding box.
BoundingBox (Inherited) The bounding box of the object that the request detects.
ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Confidence (Inherited) Returns the level of confidence in the observation’s accuracy.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
TopLeftThe coordinates of the upper-left corner of the observation bounding box.
TopRightThe coordinates of the upper-right corner of the observation bounding box.
UUID (Inherited) Returns a unique identifier assigned to the Vision observation.

Methods

shared CastDoes deep cast on incoming NSObject to VNRectangleObservation.
shared FromIntegerPtrConstructs VNRectangleObservation object from Integer handle coming from declares or 3rd party plugin.
shared IsVNRectangleObservationReturns true if the NSObject under the hood is VNRectangleObservation or derived from VNRectangleObservation.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • iOS
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit